Sahih
Muslim
صحيح مسلم
The Book of Mosques and Places of Prayer
كتاب الْمَسَاجِدِ وَمَوَاضِعِ الصَّلاَةِ
Chapter 18: The prohibition of making lost property announcements in the masjid, and what should be said by one who hears a person making such an announcement
باب النَّهْىِ عَنْ نَشْدِ الضَّالَّةِ، فِي الْمَسْجدِ وَمَا يَقُولُهُ مَنْ سَمِعَ النَّاشِدَ
Sahih Muslim 569 c
Ibn Buraida narrated it on the authority of his father that a Bedouin came when the Messenger of Allah (ﷺ) had completed the morning prayer. He thrust his head in the door of the mosque, and then the hadith (as narrated above) was narrated.
This hadith has been reported by another chain of transmitters.
حَدَّثَنَا قُتَيْبَةُ بْنُ سَعِيدٍ، حَدَّثَنَا جَرِيرٌ، عَنْ مُحَمَّدِ بْنِ شَيْبَةَ، عَنْ عَلْقَمَةَ بْنِ مَرْثَدٍ، عَنِ ابْنِ بُرَيْدَةَ، عَنْ أَبِيهِ، قَالَ جَاءَ أَعْرَابِيٌّ بَعْدَ مَا صَلَّى النَّبِيُّ صلى الله عليه وسلم صَلاَةَ الْفَجْرِ . فَأَدْخَلَ رَأْسَهُ مِنْ بَابِ الْمَسْجِدِ فَذَكَرَ . بِمِثْلِ حَدِيثِهِمَا . قَالَ مُسْلِمٌ هُوَ شَيْبَةُ بْنُ نَعَامَةَ أَبُو نَعَامَةَ رَوَى عَنْهُ مِسْعَرٌ وَهُشَيْمٌ وَجَرِيرٌ وَغَيْرُهُمْ مِنَ الْكُوفِيِّينَ .